package com.ahoi.common.utils;

import java.util.List;

/**
 * Created by ahoi on 2018-1-26 11:32:47
 * 集合工具类
 */
public class ListUtils {

    public static boolean isNotEmpty(List list) {
        return list != null && list.size() > 0;
    }

    public static boolean isEmpty(List list) {
        return !isNotEmpty(list);
    }

}
